﻿﻿using System;
using System.Collections.Generic;
using System.Web;
namespace BlackHtml5.WebSite.Web.Default.Common.Public
{
    public class DockAction  : Controller
	{
		#if (!AspNET && !MicrosoftOwin && !NFinalOwin)
		public DockAction(HttpContext context):base(context){}
		public DockAction(Microsoft.Owin.IOwinContext context):base(context){}
		public DockAction(NFinal.Owin.HtmlWriter writer,NFinal.Owin.Request request):base(writer,request){}
		#endif
		#if AspNET
		public DockAction(HttpContext context):base(context){}
		#endif
		#if MicrosoftOwin
		public DockAction(Microsoft.Owin.IOwinContext context):base(context){}
		#endif
		#if NFinalOwin
		public DockAction(string fileName, NFinal.Owin.Request request, NFinal.CompressMode compressMode) :base(fileName,request,compressMode){}
		public DockAction(System.IO.Stream stream,NFinal.Owin.Request request, NFinal.CompressMode compressMode) : base(stream,request,compressMode) {}
		public DockAction(System.Collections.Generic.IDictionary<string, object> enviroment, NFinal.Owin.Request request, NFinal.CompressMode compressMode):base(enviroment,request,compressMode){}
		#endif
		public DockAction(Controller controller):base(controller){}
        
        
        
        
        
		
        public void Dock()
        {
            
			Write("<div class=\"dock\">\r\n    <ul class=\"icons\">\r\n        <li class=\"up\"><i></i></li>\r\n        <li class=\"tel\">\r\n            <i></i><p>建站咨询热线<br />{dede:global.tell/}</p>\r\n        </li>\r\n        <li class=\"im\">\r\n            <i></i><p><a href=\"http://wpa.qq.com/msgrd?v=3&uin={dede:global.qq/}&site=qq&menu=yes\" target=\"_blank\">点我，建站咨询</a></p>\r\n        </li>\r\n        <li class=\"wechat\">\r\n            <i></i><p><img src=\"/WebSite/Content/BlackHtml5/images/wechat_code.jpg\" alt=\"扫描关注网站建设微信公众账号\" /></p>\r\n        </li>\r\n        <li class=\"down\"><i></i></li>\r\n    </ul>\r\n    <a class=\"switch\"></a>\r\n</div>\r\n    \r\n<script>\r\n    var _hmt = _hmt || [];\r\n    (function() {\r\n        var hm = document.createElement(\"script\");\r\n        hm.src = \"//hm.baidu.com/hm.js?a821a161aa4214f5ff5b8ca372960ebb\";\r\n        var s = document.getElementsByTagName(\"script\")[0];\r\n        s.parentNode.insertBefore(hm, s);\r\n    })();\r\n</script>");
        }
    }
}